home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part II.srd / Part II.srd.rsrc / PICT_14.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  152KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | door | earth | reckoner | sky | tree | windowpane
OCR: II-10 Mops General Reference Potential ivar errors There arextremelysmall pos sibility that you could get an ivar redefinition error when loading new class even if the names of the two ivars ques tion are different Because the names of the ivars are hashed, two different inames could "conceivably generate the same hash value. This situation should be extremely rare since we use -byte hash value But if it arises, try differ ent name for one of the ivars Methods After all of the instance variables are declared you must write the methods for the new class method definition takes the form (here brackets denote optional sect tions): :m SELECTOR: {named args local vars results [ method code] :m C valid selector name (any alphanumerics ending in a colon) must follow the :m (separated by at least ...